<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="./jquery-1.8.3.min.js"></script>
</head>
<body>
	<script>
		window.onload = function(){
			console.log('onload1');
		}
		window.onload = function(){
			console.log('onload2');
		}
		$(document).ready(function(){
			console.log('ready1');
		})
		$(document).ready(function(){
			console.log('ready2');
		})
	</script>
</body>
</html>